package com.service.admin.trading.controller.rep;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class SpotTradeDetailRep {

    private Integer id;
    /**
     * 交易对符号
     */
    private String symbol;
    /**
     *
     */
    private Integer buyOrderId;

    private String buyOrderNo;
    /**
     *
     */
    private Integer sellOrderId;

    private String sellOrderNo;
    /**
     *
     */
    private Integer buyMemberId;

    private String buyMemberAccount;

    /**
     *
     */
    private Integer sellMemberId;

    private String sellMemberAccount;

    /**
     * 交易数量
     */
    private BigDecimal tradeNum;
    /**
     * 交易价格
     */
    private BigDecimal orderPrice;
    /**
     * 交易总金额
     */
    private BigDecimal totalMoney;
    /**
     *
     */
    private BigDecimal sellFee;
    /**
     *
     */
    private BigDecimal buyFee;
    /**
     * 详情类型(1:买入,2:卖出)
     */
    private Integer orderType;
    /**
     * 价格类型(1:限价,2:市价)
     */
    private Integer priceType;
    /**
     *
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
